Label updating to avoid point-shaped obstacles in fixed model
نویسندگان
چکیده
In this paper, we present efficient algorithms for updating the labeling of a set of n points after the presence of a random obstacle that appears on the map repeatedly. We update the labeling so that the given obstacle does not appear in any of the labels, the new labeling is valid, and the labels are as large as possible (called the optimal labeling). Each point is assumed to have an axis-parallel, square-shaped label of unit size, attached exclusively to that point in the middle of one its edges. We consider two models: (1) the 2PM model, where each label is attached to its feature only on the middle of one of its horizontal edges, and (2) the r4PM model, where each label is attached to its feature on the middle of either one of its horizontal or vertical edges (known in advance). We assume that a sequence of point-shaped obstacles appear on the map on random locations. Three settings are considered for the behavior of the obstacle: (1) the obstacle is removed afterwards, (2) it remains on the map, and (3) it receives a similar label and remains on the map. Only two operations are permitted on the labels: flipping one or more labels, and/or resizing all labels. In the first setting, we suggest a data structure of O(n) space and O(n lg n) time in the 2PM model, and of O(n2) time in the r4PM model, so that the updated labeling can be constructed for any obstacle position in O(lg n + k) time, where k is the minimum number of operations needed. For the second and third problems, we suggest an O(n) space and O(n lg n) time data structure that can place each obstacle (possibly with a label) on the map in O(lg n + k) time, if k label flips are sufficient to make room to place the new obstacle. Otherwise, two O(n) time algorithms are suggested when a relabeling of all points is required.
منابع مشابه
An efficient algorithm for label updating in 2PM model to avoid a moving object
In this paper, we present a simple and fast algorithm for updating labels of a set of points in presence of a moving point-shaped object. The labels are assumed to be axis parallel, unit length, square shaped, each attached exclusively to a point on one of its horizontal (vertical) edges, denoted by 2PM model. The updated labeling should include all labels, avoid the moving point with largest p...
متن کاملCommunity Detection using a New Node Scoring and Synchronous Label Updating of Boundary Nodes in Social Networks
Community structure is vital to discover the important structures and potential property of complex networks. In recent years, the increasing quality of local community detection approaches has become a hot spot in the study of complex network due to the advantages of linear time complexity and applicable for large-scale networks. However, there are many shortcomings in these methods such as in...
متن کاملA Labeling Model Based on the Region of Movability for Point-Feature Label Placement
Automatic point-feature label placement (PFLP) is a fundamental task for map visualization. As the dominant solutions to the PFLP problem, fixed-position and slider models have been widely studied in previous research. However, the candidate labels generated with these models are set to certain fixed positions or a specified track line for sliding. Thus, the whole surrounding space of a point f...
متن کاملElectromagnetic Field Due to Lightning Strikes to Mountainous Ground
The produced electric and magnetic fields due to lightning strikes to mountainous ground are determined in this paper. For the sake of simplicity a cone-shaped ground with finite conductivity is assumed to represent a natural nonflat ground. By this assumption, we deal with an axillary symmetrical structure so we use the cylindrical 2D-FDTD to save the simulation memory and time, dramatically. ...
متن کاملNumerical Study on Low Reynolds Mixing ofT-Shaped Micro-Mixers with Obstacles
Micromixers are one of the most crucial components of Lab-On-a-Chip devices with the intention of mixing and dispersion of reagents like small molecules and particles. The challenge facing micromixers is typically insufficient mixing efficiency in basic designs, which results in longer microchannels. Therefore, it is desirable to increase mixing efficiency, in order to decrease mixing length, w...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 369 شماره
صفحات -
تاریخ انتشار 2006